<%--
  Created by IntelliJ IDEA.
  User: pidan
  Date: 2021/3/16
  Time: 15:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆成功</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/LogoutServlet" method="post" id="logoutForm">
    <h2>欢迎<%=session.getAttribute("username")%>登陆成功！</h2>
    <h2>当前在线人数<%=session.getServletContext().getAttribute("onlineNum")%>！</h2>

    <button type="submit" id="backBtn">退出</button>

</form>
</body>
</html>
